MailPoet\Config\Populator A

Total Complexity 69
Dependencies 38
Dependents 3
Total lines 711
Lines of code 597
Logical lines of code 185
Comment lines 31
Methods 26
Properties 11

Methods 26

Method Rating Maintainability Complexity Lines of code
createDefaultSettings()
B
37 21 73
newsletterOptionFields()
A
36 1 135
createMailPoetPage()
S
51 6 27
__construct()
S
37 1 93
populate()
S
52 5 26
createDefaultUsersFlags()
S
56 5 18
scheduleTask()
S
56 3 20
createDefaultSegment()
S
56 2 19
removeDuplicates()
S
56 2 18
newsletterTemplates()
S
59 2 15
createOrUpdateUserFlag()
S
58 2 15
scheduleBackfillEngagementData()
S
61 2 14
createSourceForSubscribers()
S
55 1 22
up()
S
56 1 20
scheduleAuthorizedSendingEmailsCheck()
S
66 2 9
scheduleSubscriberLastEngagementDetection()
S
65 2 9
scheduleBeamer()
S
68 2 8
updateRow()
S
69 1 8
scheduleInitialInactiveSubscribersCheck()
S
72 1 6
rowExists()
S
63 1 10
scheduleUnsubscribeTokens()
S
72 1 6
scheduleSubscriberLinkTokens()
S
72 1 6
scheduleMixpanel()
S
79 1 3
insertRow()
S
70 1 7
detectReferral()
S
82 1 3
scheduleNewsletterTemplateThumbnails()
S
70 1 7